import java.awt.*;
import java.awt.event.KeyEvent;
import java.io.IOException;

public class Demo1 {
    public static void main(String[] args) throws AWTException,IOException {
        int i= 0;
        while (true) {
            int a = 1024;
            int b = 0;
            if(i>=20){
                return;
            }
            i++;
            Robot robot = new Robot();
            for (int j = 0; j < 800; j++) {
                robot.mouseMove(a += j, b += j );
            }
            robot.setAutoDelay(2);
        }

    }
}
